package com.oop234.spi;

import java.sql.DriverManager;

import org.junit.Test;

import javafx.collections.FXCollections;
import sun.misc.Launcher;

public class SpiTester {

    @Test
    public void testMp3Parse() {
        System.out.println(SongParseUtils.parse(MockUtils.mockSongData(Song.TYPE_MP3)));
    }

    @Test
    public void testMp4Parse() {
        System.out.println(SongParseUtils.parse(MockUtils.mockSongData(Song.TYPE_MP4)));
    }

    @Test
    public void test() {
        System.out.println(Launcher.class.getClassLoader());
        System.out.println(Object.class.getClassLoader());
        System.out.println(DriverManager.class.getClassLoader());
        System.out.println();
        System.out.println(FXCollections.class.getClassLoader());
        System.out.println();
        System.out.println(MockUtils.class.getClassLoader());
        System.out.println(com.mysql.jdbc.Driver.class.getClassLoader());
    }

}
